home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / msdos / tbox14.zip / TBOXCFG.DOC < prev    next >
Text File  |  1993-11-14  |  101KB  |  2,297 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.                                 ToolBOX
  10.  
  11.  
  12.  
  13.                               CONFIGURATION
  14.  
  15.  
  16.  
  17.                                USER MANUAL
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.                             *
  26.                           *   *
  27.                         *       *
  28.                       *           *               The
  29.                     *               *
  30.                   *                   *           Binary
  31.                  *                     *
  32.                  *                     *          Toolshed
  33.                  *                     *
  34.                  *                     *
  35.                  *  ******             *
  36.                  *        *            *          V1.4
  37.                  *        *            *
  38.                  *        *            *          November 14, 1993
  39.                  *        *            *
  40.                  *        *            *
  41.                   ********             *
  42.  
  43.  
  44.  
  45.  
  46.                              TABLE OF CONTENTS
  47.  
  48.     1.0 INTRODUCTION.....................................................1
  49.  
  50.     2.0 Program Environment..............................................3
  51.     2.1 System Requirements..............................................3
  52.     2.2 Installation.....................................................3
  53.     2.3 Startup..........................................................3
  54.  
  55.     3.0 OPERATIONAL OVERVIEW.............................................6
  56.  
  57.     4.0 Configuration Files and the Main Menu............................8
  58.  
  59.     5.0 Configure Option : Command Line Arguments.......................10
  60.  
  61.     6.0 Configure Option : Select Color.................................11
  62.     6.1 Main Color Menu.................................................11
  63.     6.2 Change Color Settings...........................................12
  64.  
  65.     7.0 Configure Option : Sort Order Formats...........................14
  66.  
  67.     8.0 Configure Option : Display Formats..............................16
  68.  
  69.     9.0 Configure Option : Key-Bindings.................................18
  70.     9.1 Key Binding Edit/Insertion/Deletion.............................18
  71.     9.2 Key Binding Fields..............................................19
  72.     9.2.1 Key Binding Edit Menu.........................................19
  73.     9.2.2 Key-Binding Field - Label.....................................19
  74.     9.2.3 Key-Binding Field - Match List String.........................19
  75.     9.2.4 Key-Binding Field - Keystroke.................................20
  76.     9.2.5 Key-Binding Field - Command Set...............................21
  77.     9.2.6 Key-Binding Field - Help Text.................................21
  78.     9.2.7 Key-Binding Field - Flags.....................................21
  79.     9.3 Command Line Contents : DOS and Intrinsic Commands..............27
  80.     9.3.1 Basics........................................................27
  81.     9.3.2 File Variables................................................27
  82.     9.3.3 Edit Control Instructions.....................................29
  83.     9.3.4 Command Processing............................................30
  84.     9.3.5 Intrinsic tbx Command.........................................30
  85.     9.3.6 Intrinsic t*x Command.........................................31
  86.  
  87.     10.0 Configure Option : Command Overrides...........................33
  88.     10.1 Basics.........................................................33
  89.     10.2 Override Flags.................................................34
  90.     10.3 Factory Default Command Overrides..............................35
  91.  
  92.     11.0 Configure Option : Quick Lines.................................37
  93.  
  94.     12.0 Configure Option : Default-DOS-Command.........................39
  95.  
  96.     13.0 Configure Option : ToolBOX Banner..............................40
  97.  
  98.  
  99.  
  100.     APPENDIX A : TBOXCFG COMMAND LINE ARGUMENTS.........................41
  101.  
  102.     APPENDIX B : INTRINSIC COMMAND SUMMARY..............................42
  103.  
  104.  
  105.     APPENDIX C : SORT FORMAT SPECIFICATION..............................45
  106.  
  107.     APPENDIX D : DISPLAY FORMAT SPECIFICATION...........................46
  108.  
  109.     APPENDIX E : COMMAND LINE VARIABLES.................................47
  110.  
  111.  
  112. TBOXCFG User Manual                                                   Page 1
  113. ____________________________________________________________________________
  114.  
  115.  
  116.  
  117.  
  118. 1.0 INTRODUCTION
  119.  
  120.     Almost every aspect of ToolBOX is capable of being changed to suit your
  121.     personal needs.  ToolBOX is primarily a platform that can be configured
  122.     to suit whatever is required.  If you refer to a ToolBOX help screen
  123.     you'll notice the first section describes Basic Operations - essentially
  124.     the cursor keys and <SPACE> for selection.  These are the only commands
  125.     that are unchangeable.  The balance contains commands that were
  126.     configured using lower level ToolBOX capabilities, in the same way as
  127.     can be accomplished through this TBOXCFG program.  The configuration
  128.     capability extends beyond just the commands.  You can change the colors,
  129.     alter the directory display formats or sort rules, initialize ToolBOX's
  130.     startup settings, enter text for the banner line, and so on.
  131.  
  132.     This manual documents not only the procedures necessary to perform the
  133.     configuration process itself, but also the intrinsic commands that can
  134.     be used within ToolBOX.
  135.  
  136.     The configuration process generates a data file containing the
  137.     configured data - among other things the color selections, formatting
  138.     and sorting rules, and the command sets bound to various keystrokes.
  139.     This data file can then be used by ToolBOX to initialize itself to
  140.     something other than the factory default settings.
  141.  
  142.     Command definition and configuration can occur at a number of different
  143.     levels within ToolBOX.  For example:
  144.  
  145.           QUICK COMMANDS.  These can be defined directly within ToolBOX or
  146.             within the TBOXCFG program.  If defined within ToolBOX, they are
  147.             effectively deleted when exiting to DOS.  Those defined through
  148.             the TBOXCFG program are permanent.  The commands themselves are
  149.             equivalent in either case.
  150.  
  151.           KEYSTROKE ASSIGNMENTS.  Command sets can only be assigned to
  152.             keystroke keys in the TBOXCFG program.
  153.  
  154.           INFERRED BATCH FILES.  This facility is "configured" external to
  155.             both programs, by the creation and editing of the composed-
  156.             /referenced batch files.  However, the facility itself is
  157.             created through the TBOXCFG program.  The inferred batch
  158.             facility is much more general than that implied by the ToolBOX
  159.             program implementation.  The filenames used, the keystrokes, and
  160.             the parameters passed are all established by the TBOXCFG
  161.             program.
  162.  
  163.     Which technique is most applicable is left to the individual user and
  164.     their environment.
  165.  
  166.     This manual describes how the various features are configured.  Refer to
  167.     the ToolBOX User Manual for a description of how these affect the
  168.     operation of the ToolBOX program.  TBOXCFG shares many features and
  169.     conventions with the ToolBOX program.  Refer to the General Product
  170.     Overview and ToolBOX User Manuals for documentation conventions, basic
  171. TBOXCFG User Manual                                                   Page 2
  172. ____________________________________________________________________________
  173.  
  174.  
  175.     operation with cursor keys, popup menus, and so on.
  176.  
  177.     While the primary purpose of TBOXCFG is to create configuration files
  178.     for ToolBOX, these files can also be used by VIEW and TREE.  These
  179.     programs simply extract the portions of the configuration file that they
  180.     can use; typically the colors, default command line arguments, and the
  181.     banner line.
  182.  
  183.     Refer to the General Product Overview Manual for examples of practical
  184.     applications of these capabilities.
  185.  
  186. TBOXCFG User Manual                                                   Page 3
  187. ____________________________________________________________________________
  188.  
  189.  
  190. 2.0 Program Environment
  191.  
  192. 2.1 System Requirements
  193.  
  194.     The requirements are the same as for ToolBOX.  The program will run with
  195.     any Version of DOS and any type of monitor and card.
  196.  
  197.  
  198.  
  199. 2.2 Installation
  200.  
  201.     Just ensure TBOXCFG is in the current directory or on the PATH.
  202.  
  203.     Unless directed elsewhere, all configuration files are accessed from the
  204.     current directory.
  205.  
  206.  
  207. 2.3 Startup
  208.  
  209.     Like ToolBOX, TBOXCFG's operational aspects can be adjusted at the time
  210.     the program is started by entering arguments in any of three ways:
  211.  
  212.           o on the DOS command line following the program name.
  213.  
  214.           o by a DOS SET command for the "BTS" environment variable.
  215.  
  216.           o saved in the TBOXCFG.EXE executable file by the BTSPATCH
  217.             program.
  218.  
  219.     These are listed in order of decreasing precedence.
  220.  
  221.     All of the arguments are optional, and assume appropriate values if not
  222.     provided.  The video (-V) and color (-C) arguments are identical to
  223.     those used for ToolBOX.
  224.  
  225.  
  226.        SELECT VIDEO OUTPUT FORM:
  227.  
  228.                -V[b m s c e v] [25 43 50]
  229.  
  230.           Set video mode and/or number of screen lines.
  231.  
  232.                b    use BIOS output routines.
  233.  
  234.                m    assume monochrome text (MDA) video card.
  235.  
  236.                c, e, or v
  237.                     assume color graphics (CGA, EGA, or VGA) video card.
  238.                     All 3 settings have the same effect.
  239.  
  240.                s    assume CGA graphics video card and do processing to
  241.                     remove snow on screen.
  242.  
  243.                25   assume 25 visible lines of text.
  244.  
  245. TBOXCFG User Manual                                                   Page 4
  246. ____________________________________________________________________________
  247.  
  248.  
  249.                43   assume EGA/VGA card and use the 43 line by 80 column
  250.                     mode.
  251.  
  252.                50   assume VGA card and use the 50 line by 80 column mode.
  253.  
  254.  
  255.        DEFAULT COLOR SELECTION:
  256.  
  257.                -C[m c g]
  258.  
  259.           Selects one of the predefined color tables.
  260.  
  261.                m    monochrome text displays.
  262.  
  263.                c    color displays.
  264.  
  265.                g    gray scale displays, for LCD or monochrome monitors
  266.                     using color video cards.
  267.  
  268.  
  269.        SELECT EXECUTION ASPECTS:
  270.  
  271.                -X [a#] [fF]
  272.  
  273.           The eXecution subarguments are:
  274.  
  275.                a#   select permitted audible tones.  Add the numbers for the
  276.                     particular sounds you wish to hear.
  277.  
  278.                          1 border violations.  Short beeps for attempts to
  279.                            cursor beyond screen borders.
  280.  
  281.                          2 syntax.  Brief chirp made when ToolBOX is unable
  282.                            to understand a keyboard request.  Typically an
  283.                            unexpected character was entered.
  284.  
  285.                          4 error.  Longer warble made when a requested
  286.                            operation could not be carried out.
  287.  
  288.                     The default is a7 - all sounds are enabled (1+2+4).
  289.  
  290.  
  291.                f / F
  292.                     allows Flashing colors in the color selection options
  293.                     when enabled (F).  See Section 6.
  294.  
  295.  
  296.         FILE SPECIFICATION FOR CONFIGURATION FILE :
  297.  
  298.                [d:][path]filename[.cfg]
  299.  
  300.           Identifies the initial configuration file.  If no path is
  301.           specified the current directory is assumed.  If no extension is
  302.           provided, ".CFG" is assumed.  If this argument is omitted the
  303.           initial settings are those of the ToolBOX factory defaults.
  304. TBOXCFG User Manual                                                   Page 5
  305. ____________________________________________________________________________
  306.  
  307.  
  308.  
  309.  
  310.     The default argument list for TBOXCFG is:
  311.  
  312.           -xa7f
  313.  
  314.     The video and color options default to suit the current environment, and
  315.     there is no default configuration filename.
  316.  
  317.  
  318. TBOXCFG User Manual                                                   Page 6
  319. ____________________________________________________________________________
  320.  
  321.  
  322. 3.0 OPERATIONAL OVERVIEW
  323.  
  324.     TBOXCFG is structured to enable you to modify each of the nine groups of
  325.     configurable data for the ToolBOX program:
  326.  
  327.           o default command line arguments
  328.           o color attributes
  329.           o directory sort order rules
  330.           o directory display format
  331.           o keybindings with command sets
  332.           o command overrides
  333.           o quick lines
  334.           o default execution line
  335.           o screen banner field
  336.  
  337.     On startup, a copyright screen is displayed.  Entering any key will
  338.     cancel this screen before the normal 20 second duration expires.
  339.  
  340.     From here on the configuration program operates through a series of
  341.     cascading menus.  Figure 3/1 illustrates one such set of menus.
  342.  
  343.  
  344.     ┌───────────────────────── ToolBOX Configuration ──────────────────────┐
  345.     │                                                                      │
  346.     │                                                  ╔════════════════╗  │
  347.     │  ┌────────────────────────┐                      ║  Tue Jly 14/93 ║  │
  348.     │  │Load configuration file │                      ║    11:43:38    ║  │
  349.     │  │Configure               │                      ║   ----------   ║  │
  350.     │  │Save┌────────────────────────┐                 ╚════════════════╝  │
  351.     │  │eXit│command line Parameters │                                     │
  352.     │  └────│select Colors           │                                     │
  353.     │       │Sort order formats      │                                     │
  354.     │       │display Formats         │                                     │
  355.     │       │Keybindings             │                                     │
  356.     │       │command Overrides       │                                     │
  357.     │       │Quick lines             │                                     │
  358.     │       │Default DOS command     │                                     │
  359.     │       │tbox┌─────────────┐     │                                     │
  360.     │       └────│Flags        │─────┘                                     │
  361.     │            │Command line │                                           │
  362.     │            └─────────────┘                                           │
  363.     │                                                                      │
  364.     │                                                                      │
  365.     │                                                                      │
  366.     │                                                                      │
  367.     │                                                                      │
  368.     └─────────────────────────────────────────────── F1 for HELP ──────────┘
  369.  
  370.     Figure 3/1 Example ToolBOX Screen Showing Default DOS Command
  371.     Configuration
  372.  
  373.  
  374.     The two upper boxes are always on the screen.  The box in the upper
  375.     right hand corner shows the time and the currently open configuration
  376.     file - if there is one.  The upper left box is effectively the main menu
  377. TBOXCFG User Manual                                                   Page 7
  378. ____________________________________________________________________________
  379.  
  380.  
  381.     from which all others are generated.  In the example "Configure" was
  382.     selected from the main menu which in turn produces the next box showing
  383.     the possible configurable options.  From this menu the "Default DOS
  384.     Command" was selected which in turn shows the options within this topic.
  385.  
  386.     Most of the basic operational functions resemble those in ToolBOX.
  387.     Within menus, use the cursor keys to move to the desired option and then
  388.     select it with <RETURN>.  Alternatively, one can select an option by
  389.     entering the letter that is highlighted on the desired option line.
  390.  
  391.     Use <ESC> to back-out of the current menu.  In some cases <ESC> can also
  392.     be used to cancel data that has been changed.  For example for windows
  393.     where text is being entered, entering <ESC> will essentially cancel the
  394.     new text and leave the original text intact.
  395.  
  396.     Again <F1> can always be used to obtain Help information.  Within
  397.     TBOXCFG this help text is context sensitive (i.e.: relates to your
  398.     current activity).
  399.  
  400.     Many operations generate text-entry windows through which text line(s)
  401.     can be entered.  For these the cursor keys as well as <DEL>, <INS>, and
  402.     <BACKSPACE> behave as one would expect.  Note that single line text-
  403.     entry windows typically can accept wider lines than that shown on the
  404.     screen.  Continue to enter text and the window will scroll horizontally
  405.     in jumps of 10 characters.  When a text line is full an audio tone will
  406.     sound, since excess text does not wrap down.  Entering <RETURN> in the
  407.     middle causes lines to be split while <DEL>eleting the return at the end
  408.     of a line will cause the consecutive lines to be concatenated providing
  409.     there is room for both lines.  To save the entered text enter <F10> or
  410.     use <RETURN> on the last physical line.
  411.  
  412.     For other situations which require special keys, the keys are specific-
  413.     ally identified on the screen.  For example <F10> is used to close text
  414.     entry windows while <RIGHT> and <CTRL RIGHT> are used to scroll through
  415.     the color selections.
  416.  
  417.     It should be noted that most of the data entered, is not, or cannot be,
  418.     validated when entered into the TBOXCFG program.  This checking must be
  419.     deferred until the configuration file is actually used by the ToolBOX
  420.     program.
  421.  
  422.  
  423. TBOXCFG User Manual                                                   Page 8
  424. ____________________________________________________________________________
  425.  
  426.  
  427. 4.0 Configuration Files and the Main Menu
  428.  
  429.     Obviously the intent of TBOXCFG is to modify and create configuration
  430.     data and place this information into a configuration file.  Ultimately
  431.     this file will be used by ToolBOX to modify its behavior.
  432.  
  433.     Unless specified as a command line argument, TBOXCFG starts up without a
  434.     default configuration file.  At this point the effective configuration
  435.     data (i.e. the settings available for modification) is equivalent to the
  436.     factory settings used by ToolBOX if no configuration file is used.  That
  437.     is, the natural settings as described throughout the ToolBOX User
  438.     Manual.
  439.  
  440.     The currently active configuration file is shown in the box in the upper
  441.     right below the time.  If none is currently active the name field is
  442.     filled with "--------" to indicate the default is being used.
  443.     Configuration files by default have an extension of "CFG" although
  444.     anything can be used.
  445.  
  446.     The main menu allows the user to read, start modifications, or write
  447.     configuration files.
  448.  
  449.     The four options with the main menu are:
  450.  
  451.           Load configuration file
  452.  
  453.                This requests that a new configuration file be read.  This is
  454.                equivalent to specifying the configuration file as an
  455.                argument on the startup command line.
  456.  
  457.                When the option is selected a text entry window appears for
  458.                entering the desired pathname.  If an existing configuration
  459.                file is already open, its name appears as the starting
  460.                default in the text window.  Enter the new name as desired.
  461.                If no path is provided, the current directory is assumed.  If
  462.                no extension is given, "CFG" is assumed.  To specify that no
  463.                extension be used, terminate the pathname with a ".".
  464.  
  465.                If the specified file cannot be found, the existing
  466.                configuration data is left unchanged, and an error window is
  467.                generated.  If the file is found, the new data is read in and
  468.                completely replaces the existing settings.  Nothing from the
  469.                previous configuration is preserved when reading in a new
  470.                file.
  471.  
  472.           Configure
  473.  
  474.                This selection brings up a sub-menu containing the nine
  475.                configurable areas.  The options, and Sections in which they
  476.                are documented in this manual are:
  477.  
  478.                     command line Arguments   Section 5
  479.                     select Color             Section 6
  480.                     Sort order formats       Section 7
  481.                     display Formats          Section 8
  482. TBOXCFG User Manual                                                   Page 9
  483. ____________________________________________________________________________
  484.  
  485.  
  486.                     Keybindings              Section 9
  487.                     command Overrides        Section 10
  488.                     Quick lines              Section 11
  489.                     Default DOS command      Section 12
  490.                     ToolBOX Banner           Section 13
  491.  
  492.                Each option in turn brings up further sub-menus as needed for
  493.                its function.  The documentation within each referenced
  494.                section assumes each of the options have been selected from
  495.                the Configure menu.
  496.  
  497.                All of the configuration options operate on the in-memory
  498.                representation of the settings.  If you decide that you do
  499.                not want to retain the changes that have been made, then
  500.                simply don't save the configuration file at the end of the
  501.                session.  Many of the individual configuration options have
  502.                explicit facilities to cancel changes.  Again, these are
  503.                changes to the in-memory version.  The disk file version is
  504.                never modified until the Save configuration file menu.
  505.  
  506.  
  507.           Save configuration file
  508.  
  509.                This requests that the current configuration data be saved to
  510.                a disk file.  Like the equivalent read option, this brings up
  511.                a text entry window for the pathname for the new config-
  512.                uration data; pre-initialized to the currently open config-
  513.                uration pathname if there is one.  Again if a path is not
  514.                explicitly stated then the current directory is assumed.  A
  515.                "CFG" extension is assumed if none is specified.
  516.  
  517.                As a precaution, if the configuration file existed
  518.                previously, then the old file is renamed with a "BAK"
  519.                extension.  To recover the old contents just refer to the
  520.                "BAK" version directly or copy the "BAK" file over the newer
  521.                undesired file.
  522.  
  523.  
  524.           eXit
  525.  
  526.                Requests that the TBOXCFG program be terminated.  Entering
  527.                <ESC> within this menu is equivalent to the eXit option.
  528.  
  529.                If changes have been made to the configuration data since the
  530.                last save, the user will be given one last opportunity to
  531.                either return to the program so the changes can be saved or
  532.                to exit the program and abandon the changes.
  533.  
  534. TBOXCFG User Manual                                                  Page 10
  535. ____________________________________________________________________________
  536.  
  537.  
  538. 5.0 Configure Option : Command Line Arguments
  539.  
  540.     Use this option to enter text that is equivalent to what would be
  541.     entered on the ToolBOX program startup command line.  Up to 72
  542.     characters can be entered into the text-entry window.  The initial
  543.     default is no text.  Enter <ESC> to cancel any changes and revert to the
  544.     prior setting.  Enter <F10> to save the changes.
  545.  
  546.     The only difference between arguments entered here and those entered on
  547.     the ToolBOX command line, established by the BTS set variable, or
  548.     created in the TBOX program by BTSPATCH, relates to the precedence in
  549.     which they are evaluated when multiple conflicting settings are
  550.     specified.  Which of the methods is used depends on the desired
  551.     permanence, whether the ToolBOX program or configuration file are to be
  552.     shared among multiple users or purposes, and so on.
  553.  
  554.     The TBOXCFG program does not check the validity of any of the text that
  555.     is entered.  This is deferred until the associated configuration file is
  556.     actually referenced by the ToolBOX program.
  557.  
  558.  
  559. TBOXCFG User Manual                                                  Page 11
  560. ____________________________________________________________________________
  561.  
  562.  
  563. 6.0 Configure Option : Select Color
  564.  
  565. 6.1 Main Color Menu
  566.  
  567.     This option allows changes to the foreground and background color
  568.     attributes for each of the three color tables: for color, monochrome,
  569.     and grayscale monitors.  Each table consists of fourteen separate pairs
  570.     of values corresponding to the foreground/background colors for various
  571.     regions of the ToolBOX screens.
  572.  
  573.     In this section the term color is used as if we were always using the
  574.     color table.  Obviously for the grayscale table this actually
  575.     corresponds to an intensity level of a given "color" while for
  576.     monochrome screens these same attributes control bold and underline.
  577.  
  578.     The main color menu is used to manipulate the color tables as a whole.
  579.     The four selectable options are:
  580.  
  581.           Change colors
  582.  
  583.                Moves to the menu where the individual color changes can be
  584.                made to the current color table.  Refer to Section 6.2 for
  585.                details.
  586.  
  587.           Restore Defaults
  588.  
  589.                Restores the factory default settings for the current color
  590.                table.  If you wish to restore the original settings for the
  591.                current configuration, exit this menu and re-read the
  592.                configuration file.
  593.  
  594.           Pick color table
  595.  
  596.                Invokes a menu to select one of the three color tables
  597.                (color, monochrome, or grayscale) as the current table.  A
  598.                diamond appears beside the currently selected table.   This
  599.                current table is referenced by the Change color and Restore
  600.                defaults options.
  601.  
  602.                The initial table setting corresponds to the color table
  603.                requested for the TBOXCFG program itself.  Configuring any
  604.                table other than the one corresponding to the current monitor
  605.                type is questionable since the attributes cannot be properly
  606.                displayed.
  607.  
  608.           caNcel changes
  609.  
  610.                Ignore all changes made to any table since this menu was last
  611.                entered.
  612.  
  613.     No mechanism exists for changing the colors for the TBOXCFG program
  614.     itself.
  615.  
  616. TBOXCFG User Manual                                                  Page 12
  617. ____________________________________________________________________________
  618.  
  619.  
  620. 6.2 Change Color Settings
  621.  
  622.     There are fourteen color fields used within ToolBOX.  As shown in Figure
  623.     6/1, the color change screen has two separate windows.  The box on the
  624.     left is a help screen showing the expected keys and the topic associated
  625.     with each of the 14 fields - labeled A through N.  The box on the right
  626.     shows a simulated series of menu boxes to illustrate how these color
  627.     changes actually appear.
  628.  
  629.     ┌───────────────────────── ToolBOX Configuration ──────────────────────┐
  630.     │                                    ┌────  Sample Color Table  ────┐  │
  631.     │                                    │                              │  │
  632.     │  ┌──────────────────────────────┐  │ ┌─[A] Directory Box────────┐ │  │
  633.     │  │<>      for foreground color│  │ │┌─[B] Dir Box - Selected─┐│ │  │
  634.     │  │<CTRL > for background color│  │ ││[C] normal  .fil        ││ │  │
  635.     │  │──────────────────────────────│  │ ││[D] cursor  .fil        ││ │  │
  636.     │  │[A] Dir Normal Box            │  │ ││[] selected.fil        ││ │  │
  637.     │  │[B] Dir Selected Box          │  │ ││[F] curs-sel.fil        ││ │  │
  638.     │  │[C] Dir: normal text          │  │ │└────────────────────────┘│ │  │
  639.     │  │[D] Dir: cursor text          │  │ │[G] Cmd> [H] Entered text │ │  │
  640.     │  │[E] Dir: selected text        │  │ └──────────────────────────┘ │  │
  641.     │  │[F] Dir: selected & cursor    │  │                              │  │
  642.     │  │[G] Kbd cmd prefix            │  │ ┌─[I] Menu Box─────────────┐ │  │
  643.     │  │[H] Kbd entered text          │  │ │[J] Normal entry          │ │  │
  644.     │  │[I] Menu Box                  │  │ │[K] Selected entry        │ │  │
  645.     │  │[J] Menu: normal              │  │ │[L] Select Char           │ │  │
  646.     │  │[K] Menu: selected            │  │ └──────────────────────────┘ │  │
  647.     │  │[L] Menu: select char         │  │                              │  │
  648.     │  │[M] Help Box                  │  │ ┌─[M] Help Box─────────────┐ │  │
  649.     │  │[N] Help: text                │  │ │[N] Help text             │ │  │
  650.     │  └──────────────────────────────┘  │ └──────────────────────────┘ │  │
  651.     │                                    │                              │  │
  652.     │                                    └──────────────────────────────┘  │
  653.     └─────────────────────────────────────────────── F1 for HELP ──────────┘
  654.  
  655.     Figure 6/1  Example Screen for Changing Colors
  656.  
  657.  
  658.     For example, the upper box in the right window simulates the main
  659.     ToolBOX screen.  The labeled fields represent the color for:
  660.  
  661.           [A] the outer box when ToolBOX is in DIRECTORY mode.
  662.           [B] the outer box when ToolBOX is in SELECT mode (the normal case)
  663.           [C] normal files in the directory display.
  664.           [D] the file in the display that coincides with the cursor.
  665.           [E] a selected file in the display.
  666.           [F] a selected file in the display that coincides with the cursor.
  667.           [G] the "CMD>" prefix for the keyboard command line at the bottom
  668.               of the ToolBOX screen.
  669.           [H] the text portion of the keyboard command line.
  670.  
  671.     The simulated boxes will give a feeling for how the screen will
  672.     ultimately appear.
  673.  
  674. TBOXCFG User Manual                                                  Page 13
  675. ____________________________________________________________________________
  676.  
  677.  
  678.     To change a color:
  679.  
  680.           1) select one of the 14 color fields by using the <UP> and <DOWN>
  681.              cursor keys.  The current field is identified by the flashing
  682.              diamond in the simulated screen on the right.
  683.  
  684.           2) change the foreground color by using the <LEFT> and <RIGHT>
  685.              cursor keys to cycle through the 16 possibilities.  Each change
  686.              is reflected in the simulated screen.  All video modes have 16
  687.              settings, although for monochrome mode many of these are
  688.              duplicates.
  689.  
  690.           3) change the background color by using the <CTRL LEFT> and <CTRL
  691.              RIGHT> keys to cycle through the 8 possibilities.  An
  692.              additional 8 flashing background settings can be made available
  693.              through the -xF command line argument described in Section 2.3.
  694.              Normally these are disabled as they aren't typically used and
  695.              increase the effort required to cycle through the settings.
  696.  
  697.           4) when the foreground and background colors for the field are set
  698.              correctly, either return to step 1 for other fields or enter
  699.              <ESC> to return to the parent Main Color menu.
  700.  
  701.     If you wish to cancel the color changes that have been made, then use
  702.     the Cancel option in the parent Main Color Menu.
  703.  
  704.     Color selection is a matter of personal choice.  Our extensive Graphics
  705.     Art department here at The Binary Toolshed won't feel slighted in the
  706.     least that you have chosen to ignore the default colors that they spent
  707.     countless hours selecting.
  708.  
  709.  
  710. TBOXCFG User Manual                                                  Page 14
  711. ____________________________________________________________________________
  712.  
  713.  
  714. 7.0 Configure Option : Sort Order Formats
  715.  
  716.     Through this option you can identify 8 separate sets of sort rules.
  717.     Each can then be referenced from within ToolBOX by the -s# command line
  718.     argument, the sort option sub-menu of the ToolBOX popup menu, or the /s#
  719.     parameter on the intrinsic dir command line.
  720.  
  721.     ┌──────────────────────── ToolBOX Configuration ──────────────────────┐
  722.     │                                                                     │
  723.     │                                                ╔════════════════╗   │
  724.     │  ┌────────────────────────┐                    ║  Tue Jly 14/93 ║   │
  725.     │  │Load configuration file │                    ║    09:52:58    ║   │
  726.     │  │Configure               │                    ║   ----------   ║   │
  727.     │  │Save┌────────────────────────┐               ╚════════════════╝   │
  728.     │  │eXit│command line Parameters │                                    │
  729.     │  └────│select Colors           │                                    │
  730.     │       │Sort order formats      │                                    │
  731.     │       │disp┌──────────────────┐│                                    │
  732.     │       │Key │eXtension-name    ││                                    │
  733.     │       │comm│Date┌──Sort Description and Format─┐                    │
  734.     │       │Quic│Size│eXtension-name                │                    │
  735.     │       │Defa│dOs │xn                            │                    │
  736.     │       │tbox│Name└────────────── F10 To Save ───┘                    │
  737.     │       └────│extension-daTe    │┘                                    │
  738.     │            │extension-siZe    │                                     │
  739.     │            │Reverse-date-name │                                     │
  740.     │            └──────────────────┘                                     │
  741.     │                                                                     │
  742.     │                                                                     │
  743.     │                                                                     │
  744.     │                                                                     │
  745.     └─────────────────────────────────────────────── F1 for HELP ─────────┘
  746.  
  747.     Figure 7/1 Example TBOXCFG Screen Illustrating Sort Option
  748.  
  749.     As shown in Figure 7/1, the first window presented is a list of the 8
  750.     existing sort settings.  Enter the highlighted letter (or cursor to the
  751.     option and enter <RETURN>) to select the one you wish to edit or
  752.     replace.  This brings up a text-entry window with two lines.  The first
  753.     line is to be used as the sort description or label field, while the
  754.     second is for the sort specification.
  755.  
  756.     The sort description is used for the label on the parent menu as well as
  757.     the popup sort selection menu within the ToolBOX program.  The name may
  758.     contain up to 30 characters.  The first capital letter (if any) will be
  759.     used as the highlight letter for the fast menu selection.  The second
  760.     and subsequent capitals have no special effect.  If multiple labels
  761.     share the same first capital letter, only the first will be used for the
  762.     fast selection.
  763.  
  764. TBOXCFG User Manual                                                  Page 15
  765. ____________________________________________________________________________
  766.  
  767.  
  768.     The second line containing the sort specification is composed of a
  769.     series of code letters identifying the sort rules:
  770.  
  771.           x    extension - alphabetical order
  772.           n    name      - alphabetical order
  773.           d    date      - oldest first
  774.           s    size      - smallest first
  775.           r    reverse order
  776.  
  777.     Case is not significant.  If no letter is specified, the directory
  778.     entries are left unsorted in the natural DOS order.  If more than one
  779.     code letter is specified, the second and subsequent are used to resolve
  780.     ties that remain from the previous sorts.  The reverse order request is
  781.     done at the end after all other sort procedures have been performed.
  782.  
  783.     For example, the specification:
  784.  
  785.           nxr
  786.  
  787.     requests that the primary sort be an alphabetical sort based on the 8
  788.     character filename.  For multiples entries with the same 8 character
  789.     name (i.e. ties), resolve the tie by sorting alphabetically on the 3
  790.     character extension.  On completion of all this, reverse the order of
  791.     the entire directory.
  792.  
  793.     Within a ToolBOX directory display the current directory, ".", always
  794.     remains as the first entry.
  795.  
  796.  
  797. TBOXCFG User Manual                                                  Page 16
  798. ____________________________________________________________________________
  799.  
  800.  
  801. 8.0 Configure Option : Display Formats
  802.  
  803.     This option is similar to the sort option except that it establishes 8
  804.     separate display format specifications for the ToolBOX directory file
  805.     entries.  As shown in Figure 8/1 the item selection and the two line
  806.     text entry window for inputting the label and format specification are
  807.     also the same.
  808.  
  809.     ┌───────────────────────── ToolBOX Configuration ──────────────────────┐
  810.     │                                                                      │
  811.     │                                                  ╔════════════════╗  │
  812.     │  ┌────────────────────────┐                      ║  Tue Jly 14/93 ║  │
  813.     │  │Load configuration file │                      ║    01:58:10    ║  │
  814.     │  │Configure               │                      ║   ----------   ║  │
  815.     │  │Save┌────────────────────────┐                 ╚════════════════╝  │
  816.     │  │eXit│command line Parameters │                                     │
  817.     │  └────│select Colors           │                                     │
  818.     │       │Sort order formats      │                                     │
  819.     │       │display Formats         │                                     │
  820.     │       │Key ┌──────────────────┐│                                     │
  821.     │       │comm│Master            ││                                     │
  822.     │       │Quic│filename-Size     ││                                     │
  823.     │       │Defa│filename-Date     ││                                     │
  824.     │       │tbox│File┌───Dir Description and Format─┐                     │
  825.     │       └────│Name│filename-Date                 │                     │
  826.     │            │mAst│/n.x D                        │                     │
  827.     │            │siZe└────────────── F10 To Save ───┘                     │
  828.     │            │filename-sizE (B) │                                      │
  829.     │            └──────────────────┘                                      │
  830.     │                                                                      │
  831.     │                                                                      │
  832.     │                                                                      │
  833.     └─────────────────────────────────────────────── F1 for HELP ──────────┘
  834.  
  835.     Figure 8/1 Example TBOXCFG Screen Illustrating Display Format Option
  836.  
  837.  
  838.     The display format specification is composed of a number of single
  839.     character codes:
  840.  
  841.           D    ddMmmyy date string
  842.           d    2 char day
  843.           m    2 char month
  844.           y    2 char year
  845.           M    3 char Month
  846.           t    hh:mm time field
  847.  
  848.           n    8 character name
  849.           x    3 character extension
  850.  
  851.           C    8 character file size byte count,
  852.                  or "  <DIR>  " if a directory
  853.           c    8 character file size byte count,
  854.                  or "         " if a directory
  855.  
  856. TBOXCFG User Manual                                                  Page 17
  857. ____________________________________________________________________________
  858.  
  859.  
  860.           s     if file is selected, otherwise " "
  861.  
  862.           \    file status: displays as "\" if a directory, otherwise " "
  863.           /    file status: displays file attribute status character,
  864.                in decreasing priority:
  865.                     "s"  system
  866.                     "h"  hidden
  867.                     "r"  read-only
  868.                     "\"  subdirectory
  869.                     " "  none
  870.  
  871.           "literal string"   any text
  872.  
  873.     These characters can be combined in any order to create the desired
  874.     display format.  Characters that do not correspond to any of the format
  875.     characters are treated literally; for example spaces or periods can be
  876.     used to separate fields.  Alternatively, literal text can be entered
  877.     directly by enclosing it in quotation marks.
  878.  
  879.     The format characters are essentially self explanatory.  Various
  880.     date/time combinations are identified through D d m y M and T.  Filename
  881.     components are specified through n and x.  The s field is an alternative
  882.     mechanism to using color highlight to identify selected display entries.
  883.     The \ and / produce single character file status characters, where \
  884.     just identifies the entry as a directory, while / also shows applicable
  885.     system, hidden and read-only file attributes.
  886.  
  887.     ToolBOX will adjust the number of file columns within the directory
  888.     display according to the effective width of the formatted specification.
  889.     A minimum of two spaces is inserted between each pair of columns.  There
  890.     is no indication within the TBOXCFG program of how the formatted text
  891.     will appear or of the number of columns.
  892.  
  893.     As an example, the default master display label and format specification
  894.     are (quotes are added for presentation purposes):
  895.  
  896.                "Master"
  897.                "\n.xC  D t"
  898.  
  899.     which displays as two columns, each of which appears as:
  900.  
  901.                " FILENAME.EXT    2,345  14Jly93 09:29"
  902.  
  903.  
  904.  
  905. TBOXCFG User Manual                                                  Page 18
  906. ____________________________________________________________________________
  907.  
  908.  
  909. «X1»9.0 Configure Option : Key-Bindings
  910.  
  911. 9.1 Key Binding Edit/Insertion/Deletion
  912.  
  913.     Keybindings are used to associate a set of operations with a keyboard
  914.     key.  These associated items include:
  915.  
  916.           o text label - used to recognize the keybinding within the
  917.             TBOXCFG program.
  918.           o optional file matchlist specification needed for activation.
  919.           o keystroke character needed for activation.
  920.           o command set containing command lines to be processed - both DOS
  921.             and ToolBOX intrinsic commands.
  922.           o help text.
  923.           o flags - for updating directory display on completion, or
  924.             pausing, and so on.
  925.  
  926.     Selecting the Key Binding option from the Configure menu, produces a
  927.     window with a list of the labels for the existing keybindings.  The
  928.     menus within this option allow you to add, delete, or edit items in the
  929.     list.  To perform one of these update operations, cursor to the desired
  930.     keybinding label and enter <RETURN>.  The next menu options are:
  931.  
  932.           Edit
  933.  
  934.                Initiates changes to the existing settings for the
  935.                keybinding.  Refer to section 9.2 for the options available.
  936.  
  937.           Insert before
  938.  
  939.                Adds a new entry before the current keybinding.  Refer to
  940.                Section 9.2 for the options available.
  941.  
  942.           Append after
  943.  
  944.                Adds a new entry after the current keybinding.  Refer to
  945.                Section 9.2 for the options available.
  946.  
  947.           Cut
  948.  
  949.                Deletes the current keybinding.  The deleted entry is
  950.                temporarily retained and can be used in subsequent paste
  951.                operations.  These Cut and Paste combinations can be used to
  952.                duplicate or move entries.
  953.  
  954.           Paste after
  955.  
  956.                Inserts a copy of the most recent Cut operation after the
  957.                current keybinding.
  958.  
  959.     The order of the entries in the list is significant.  ToolBOX will stop
  960.     at the first entry that satisfies the keystroke and file match
  961.     requirements.  For example, if you wish to associate a keybinding with
  962.     an alphabetic key, it must be placed before the keyboard command line
  963.     binding that matches all ASCII keystroke characters.
  964. TBOXCFG User Manual                                                  Page 19
  965. ____________________________________________________________________________
  966.  
  967.  
  968.  
  969.  
  970. 9.2 Key Binding Fields
  971.  
  972. 9.2.1 Key Binding Edit Menu
  973.  
  974.     The keybinding edit menu allows individual access to each of the 6
  975.     fields plus an edit cancel option:
  976.  
  977.           Label
  978.           Matchlist
  979.           Keystroke
  980.           Command text
  981.           Help text
  982.           Flags
  983.           Cancel changes
  984.  
  985.     During the edit operations, changes are made to a copy of the actual
  986.     keybinding.  No changes are saved until <ESC> is used to exit from the
  987.     edit menu.  To exit from the menu and ignore whatever changes were made
  988.     to the fields, use the Cancel changes option.
  989.  
  990.     If the edit menu was reached from the Insert or Append options, then
  991.     each field is initialized with the default settings.
  992.  
  993.  
  994. 9.2.2 Key-Binding Field - Label
  995.  
  996.     The label field is used in the menu list of defined keybindings.  This
  997.     is the only keybinding field that is used for the TBOXCFG program rather
  998.     than ToolBOX itself.
  999.  
  1000.     Up to 32 characters can be entered to describe the keybinding.
  1001.  
  1002.  
  1003. 9.2.3 Key-Binding Field - Match List String
  1004.  
  1005.     The matchlist is the optional file match specification(s) that must
  1006.     correspond to the selected file(s) before ToolBOX will invoke the
  1007.     keybinding.  If not supplied, the binding will be selected solely on the
  1008.     keystroke specification.
  1009.  
  1010.     As per the standard matchlist definition, the list can contain one or
  1011.     more filematch specifications.  Each filematch specification can contain
  1012.     the * or ? wildcards, and be preceded with !.  The ! designates that
  1013.     files matching this specification should be removed from the list of
  1014.     files selected by prior specifications.
  1015.  
  1016.     The default setting is the absence of a specification.  This designates
  1017.     that keybinding is to be selected solely on the keystroke value and is
  1018.     independent of whether or not files are selected.
  1019.  
  1020. TBOXCFG User Manual                                                  Page 20
  1021. ____________________________________________________________________________
  1022.  
  1023.  
  1024. 9.2.4 Key-Binding Field - Keystroke
  1025.  
  1026.     The keystroke is the keyboard character that must be matched for ToolBOX
  1027.     to invoke the keybinding.
  1028.  
  1029.     When the option is selected, a list of all possible keystrokes is shown.
  1030.     Select the desired entry, either by cursoring to it or by directly
  1031.     entering the keystroke.  Most of the keystrokes are straight forward,
  1032.     simply representing the valid combinations of the normal keys along with
  1033.     the <SHIFT>, <CTRL>, and <ALT> keys.  However, a few special conditions
  1034.     should be noted:
  1035.  
  1036.           o characters that are not available include:
  1037.  
  1038.                . the alphabetic keys (without CTRL or ALT)
  1039.  
  1040.                . the ToolBOX basic operation keys:  cursor keys, <PG UP>,
  1041.                  <PG DN>, <HOME>, <END>, <ESC>, and <SPACE>
  1042.  
  1043.           o as <RETURN> is used in the menu selection process, you must
  1044.             cursor to it to select its entry.
  1045.  
  1046.           o the only special allowance made for the 101 key AT keyboards are
  1047.             that the <+> and <-> keys are distinguished from the equivalent
  1048.             keys on the main part of the keyboard.  The <F11> and <F12> keys
  1049.             are not supported.
  1050.  
  1051.           o for keys that may not be available on all keyboards, the key
  1052.             label in the menu is enclosed in [brackets].  Use the direct
  1053.             menu select mechanism to test if they have the desired effect.
  1054.             This applies to such characters as <CTRL RETURN> which may not
  1055.             be supported by your BIOS or the mid <keypad 5> which may not
  1056.             physically exist on your keyboard.  Refer to the General Product
  1057.             Overview Manual for alternate keystrokes for these keys.
  1058.  
  1059.           o with three exceptions, all the keys correspond to single
  1060.             keystrokes (with one of more shift states).  The three
  1061.             exceptions provide a mechanism to group common keys together.
  1062.             The keystroke for these can be assumed to be matched if any of
  1063.             the keys within the group are entered.  The labels for the three
  1064.             groups are:
  1065.  
  1066.                ASCII       Group contains the standard 95 printable charact-
  1067.                            ters available through the main portion of the
  1068.                            keyboard.  Includes the upper and lower case
  1069.                            alphabetics, numeric, and punctuation characters.
  1070.  
  1071.                ALT LETTER  The 26 alphabetic keys when used in conjunction
  1072.                            with the ALT key.
  1073.  
  1074.                CTRL LETTER The 26 alphabetic keys when used in conjunction
  1075.                            with the CTRL key.
  1076.  
  1077.     There is no default keystroke selection.
  1078.  
  1079. TBOXCFG User Manual                                                  Page 21
  1080. ____________________________________________________________________________
  1081.  
  1082.  
  1083. 9.2.5 Key-Binding Field - Command Set
  1084.  
  1085.     The Command Set field represents the individual instructions that are to
  1086.     be processed when the keybinding is invoked.  The command lines can be
  1087.     either DOS commands or ToolBOX intrinsics.  Rules for the available
  1088.     commands and their contents are provided in Section 9.3.
  1089.  
  1090.     Each command set may contain up to 40 lines of up to 68 characters each.
  1091.     The lines can contain any valid CTRL character variable.  TBOXCFG does
  1092.     not check the validity of the entered command lines.  The command set
  1093.     lines can be viewed from within the ToolBOX program through the extended
  1094.     help facility, <ALT F1>.
  1095.  
  1096.  
  1097. 9.2.6 Key-Binding Field - Help Text
  1098.  
  1099.     The help text entered here is displayed when the <F1> help key is used
  1100.     within ToolBOX.  This help text for the configured keybindings is
  1101.     displayed after the explanations for the basic ToolBOX operations.
  1102.  
  1103.     As for the command lines, you may enter up to 40 lines of up to 68
  1104.     characters each.  The convention employed for the factory default
  1105.     commands is a single line for each consisting of:
  1106.  
  1107.           o 8 characters for the match string or " ---    " if not
  1108.             applicable.
  1109.  
  1110.           o 12 characters for the keystroke match.
  1111.  
  1112.           o up to 48 characters of explanation.
  1113.  
  1114.     Note this is only a convention used to ensure the presentation is
  1115.     consistent.  The help text can span any number of lines, even zero, and
  1116.     employ any formatting that may be desirable.
  1117.  
  1118.  
  1119. 9.2.7 Key-Binding Field - Flags
  1120.  
  1121.     The Flags menu sets the state for seven different aspects of executing a
  1122.     keybinding.  These are primarily used to optimize the screen transitions
  1123.     from the ToolBOX directory display to the program (or DOS) screen and
  1124.     then back.  Each keybinding will have different requirements in terms of
  1125.     video modes that must be initialized, file updates that must be
  1126.     integrated into the display, pause and error processing requirements,
  1127.     and so on.  The flag settings can be used to ensure that the transitions
  1128.     are done as quickly and as smoothly as possible.
  1129.  
  1130.     As each of the seven flag settings is selected, a submenu appears
  1131.     showing the available options.  The current setting is prefixed with a 
  1132.     character. To change the setting, cursor to the desired option and enter
  1133.     <RETURN> or <SPACE>.  Figure 9/1 illustrates one of these menus - for
  1134.     setting error condition options.
  1135.  
  1136. TBOXCFG User Manual                                                  Page 22
  1137. ____________________________________________________________________________
  1138.  
  1139.  
  1140.     ┌───────────────────────── ToolBOX Configuration ──────────────────────┐
  1141.     │                                                                      │
  1142.     │                                                   ╔════════════════╗ │
  1143.     │ ┌────────────────────────┐                        ║  Tue Jly 14/93 ║ │
  1144.     │ │Load configuration file │                        ║    11:47:51    ║ │
  1145.     │ │Configure┌───────────────────────────────┐       ║   ----------   ║ │
  1146.     │ │Save┌────│Select all ent┌───────────────────────┐╚════════════════╝ │
  1147.     │ │eXit│comm│Select current│Switch to DOS window   │                   │
  1148.     │ └────│sele│Sele┌─────────│Tell DOS of Video Lines│                   │
  1149.     │      │Sort│Exec│Edit     │Display data           │                   │
  1150.     │      │disp│Star│Inse┌────│sUbdirectory           │                   │
  1151.     │      │Key │Star│Appe│Labe│Pause on completion    │                   │
  1152.     │      │comm│KBD>│Cut │Matc│On error               │                   │
  1153.     │      │Quic│DELE│Past│Keys│Embe┌───────┐          │                   │
  1154.     │      │Defa│KBD>└────│Comm│sKip│ Abort │          │                   │
  1155.     │      │tbox│KILLDIR  │Help└────│Ignore│──────────┘                   │
  1156.     │      └────│PRINT    │Flags    └───────┘   │                          │
  1157.     │           │QUICK EXI│Cancel ch      │     │                          │
  1158.     │           │KBD> RENA└───────────────┘     │                          │
  1159.     │           │Shell to DOS                   │                          │
  1160.     │           │TREE directory                 │                          │
  1161.     │           │VIEW File                      │                          │
  1162.     │           └───────────────────────────────┘                          │
  1163.     │                                                                      │
  1164.     └──────────────────────────────────────────────── F1 for HELP ─────────┘
  1165.  
  1166.     Figure 9/1 Example Menu Showing Possible Change To The On-Error Flags
  1167.  
  1168.  
  1169.     Each of the eight flag settings covers a particular aspect of processing
  1170.     a keybinding.  These settings along with their sub-menu options are
  1171.     (defaults shown prefixed with ):
  1172.  
  1173.           Switch to DOS window
  1174.  
  1175.  
  1176.                Controls whether, before the command is executed, ToolBOX
  1177.                should retain it's own directory display or switch to the
  1178.                screen for DOS command lines.  The setting has no effect in
  1179.                split screen mode.
  1180.  
  1181.                     Inhibit switch      Stay with the ToolBOX directory
  1182.                                         display. This should only be used
  1183.                                         for commands which generate no
  1184.                                         output to the screen or produce full
  1185.                                         screen output (that is where
  1186.                                         switching to the DOS screen would be
  1187.                                         immediately replaced anyway).
  1188.  
  1189.                    Switch and save     Restore the DOS screen before
  1190.                                         executing the command, and upon
  1191.                                         completion record the updated screen
  1192.                                         state so that it can be used for the
  1193.                                         next opportunity.  Switching to DOS
  1194.                                         not only restores the screen
  1195. TBOXCFG User Manual                                                  Page 23
  1196. ____________________________________________________________________________
  1197.  
  1198.  
  1199.                                         characters but also the number of
  1200.                                         video lines.  This may be
  1201.                                         significant to some programs.
  1202.  
  1203.                     switch, Don't save  As above except that the updated DOS
  1204.                                         screen is essentially ignored on
  1205.                                         completion.  This is useful for full
  1206.                                         screen programs which require the
  1207.                                         initial DOS screen line settings.
  1208.  
  1209.  
  1210.  
  1211.           Tell DOS of video lines
  1212.  
  1213.                Determines whether DOS should be specifically told there are
  1214.                only 25 lines available in the split screen area.  As
  1215.                explained in the ToolBOX manual for the TBOX -xT command line
  1216.                argument, under some combinations and versions of the
  1217.                ANSI.SYS driver and DOS, it may be possible to have DOS
  1218.                restricted to the 25 line split screen area, yet have
  1219.                applications use the full 43 or 50 line screen.  This flag
  1220.                and the command line argument setting are combined before the
  1221.                command is carried out - i.e. as long as either is set to YES
  1222.                DOS is told of the 25 line restriction.  This setting has no
  1223.                effect if not in split screen mode.
  1224.  
  1225.                     No                  Do not tell DOS.  Assumes DOS
  1226.                                         (usually V3.x or 4 with ANSI.SYS) is
  1227.                                         self limited to the 25 line split
  1228.                                         screen area.
  1229.  
  1230.                    Yes                 Tell DOS (and therefore all other
  1231.                                         programs that default to the current
  1232.                                         screen settings) that only 25 lines
  1233.                                         are available in the split screen
  1234.                                         area.
  1235.  
  1236.  
  1237.  
  1238.           Display data
  1239.  
  1240.                This setting is used to optimize, where possible, the
  1241.                processing required to update the directory display after a
  1242.                keybinding is processed.  A complete update requires that all
  1243.                the files in the directory be re-examined to detect possible
  1244.                changes.  This file data must then be sorted and reformatted
  1245.                for presentation purposes.  Elimination of any of these steps
  1246.                (and especially the re-reading of the directory) helps
  1247.                eliminate unnecessary delays.
  1248.  
  1249.  
  1250.                    New data            File or directory changes occurred.
  1251.                                         Re-read the directory and update the
  1252.                                         display accordingly.
  1253.  
  1254. TBOXCFG User Manual                                                  Page 24
  1255. ____________________________________________________________________________
  1256.  
  1257.  
  1258.                     Re-sort             File data didn't change. Just re-
  1259.                                         sort it.
  1260.  
  1261.                     re-Sort and format  File data didn't change, but sort
  1262.                                         criteria or format rules did.
  1263.                                         Therefore use the existing file data
  1264.                                         but reformat and re-sort it before
  1265.                                         displaying.
  1266.  
  1267.                     New data if change  ToolBOX can make a SIMPLISTIC test
  1268.                                         for file changes by checking for
  1269.                                         changes in the disk space
  1270.                                         utilization before and after
  1271.                                         execution of the keybinding.
  1272.                                         Depending on whether changes were
  1273.                                         detected, this option completes as
  1274.                                         per the "New data" or "No changes"
  1275.                                         options.
  1276.  
  1277.                                         It must be emphasized that while the
  1278.                                         test is much faster than re-reading
  1279.                                         the entire directory, it is far from
  1280.                                         foolproof.  Do not use this option
  1281.                                         if you cannot afford to have the
  1282.                                         display be slightly out-of-date
  1283.                                         occasionally.
  1284.  
  1285.                     Assume BTS errorlevel
  1286.                                         Most Binary Toolshed programs return
  1287.                                         an error level indicator which
  1288.                                         identifies whether changes have
  1289.                                         occurred (refer to the General
  1290.                                         Product Overview Manual for
  1291.                                         specifics).  This option tells
  1292.                                         ToolBOX to examine this error level
  1293.                                         indicator to determine whatever
  1294.                                         display updates are warranted.
  1295.  
  1296.                     No change           There are no changes to the files
  1297.                                         involved in the current ToolBOX
  1298.                                         directory display, therefore no
  1299.                                         update is required.
  1300.  
  1301.  
  1302.           subDirectory
  1303.  
  1304.                This setting identifies whether the matchlist specification
  1305.                in the keybinding pertains to files and/or subdirectories.
  1306.  
  1307.                    No                  Match files only.
  1308.  
  1309.                     Yes                 Match subdirectories only.
  1310.  
  1311.                     Optional            Match files and subdirectories.
  1312.  
  1313. TBOXCFG User Manual                                                  Page 25
  1314. ____________________________________________________________________________
  1315.  
  1316.  
  1317.  
  1318.  
  1319.           Pause on completion
  1320.  
  1321.                Identifies whether, on completion of processing the
  1322.                keybinding command set, ToolBOX should pause and display the
  1323.                resultant DOS screen or revert immediately to the ToolBOX
  1324.                directory display.  This setting has no effect in split
  1325.                screen mode or if the PAUSE flag within ToolBOX itself is set
  1326.                to YES (see ToolBOX popup menu options or <ALT F2> in the
  1327.                ToolBOX User Manual).
  1328.  
  1329.                If what is desired is to actually pause after each command
  1330.                (and not just preserve DOS screens that would have otherwise
  1331.                been replaced), then specifically insert the DOS PAUSE
  1332.                command within the command set.
  1333.  
  1334.  
  1335.                     after Each command  If a single keystroke involves
  1336.                                         keybindings for a number of selected
  1337.                                         files, then ToolBOX will pause after
  1338.                                         the execution phase has completed
  1339.                                         for each command set for each
  1340.                                         selected file.  Any-key will cause
  1341.                                         the process to resume, however,
  1342.                                         <CTRL c> can be used to abort the
  1343.                                         remaining operations.
  1344.  
  1345.                     after All selected  As above, except ToolBOX pauses once
  1346.                                         and once only at the completion of
  1347.                                         all keybindings for the current
  1348.                                         keystroke.  The PAUSE flag set
  1349.                                         through the TBOX -xP command line
  1350.                                         argument or the ToolBOX popup menu
  1351.                                         sets this setting for all
  1352.                                         keybindings.
  1353.  
  1354.                    Never               Revert immediately to the ToolBOX
  1355.                                         directory display - do not pause.
  1356.  
  1357.  
  1358.           On-error
  1359.  
  1360.                Specifies what should be done when external programs return a
  1361.                non-zero errorlevel value.  The error setting is generally
  1362.                not applicable.  The errorlevel value is only available from
  1363.                programs that are invoked directly; with explicit .exe or
  1364.                .com extensions (for other programs, ToolBOX runs them
  1365.                indirectly through COMMAND.COM which discards the program
  1366.                errorlevel value).  Also the convention for errorlevel values
  1367.                is not consistently followed by all programs.  Judicious
  1368.                caution is warranted.
  1369.  
  1370.                     Abort               Stop processing immediately.  The
  1371.                                         audible alarm for execution errors
  1372. TBOXCFG User Manual                                                  Page 26
  1373. ____________________________________________________________________________
  1374.  
  1375.  
  1376.                                         is also issued.
  1377.  
  1378.                    Ignore              No attention is paid to the
  1379.                                         errorlevel value returned from
  1380.                                         executed programs.
  1381.  
  1382.  
  1383.           Embeddable
  1384.  
  1385.                Indicates to ToolBOX if this keybinding should be allowed to
  1386.                be processed if the associated keystroke is entered when
  1387.                ToolBOX is in the keyboard command line mode.  As explained
  1388.                for "External Command Access" in Section 9.3.2 of the ToolBOX
  1389.                User Manual, as a simple guideline, any command can be used
  1390.                as long as it does not change the current directory,
  1391.                reference the currently selected files, or conflict with
  1392.                characters used for editing the command lines or with those
  1393.                used for command line variables.  The commands that can be
  1394.                used include those that alter the number of screen lines,
  1395.                change the split screen status, change the display sort and
  1396.                format settings, toggle ToolBOX/DOS views etc.
  1397.  
  1398.  
  1399.                    No                  Do not process if the keystroke is
  1400.                                         entered in the middle of a keyboard
  1401.                                         command line.
  1402.  
  1403.                     Yes                 Process the keybinding.  Use caution
  1404.                                         here.
  1405.  
  1406.  
  1407.           sKip to cursor
  1408.  
  1409.                Specifies a special command which is intended to be processed
  1410.                once and once only, and on the file at the current cursor
  1411.                position.  The normal procedure is to execute the keybinding
  1412.                once for each selected file.
  1413.  
  1414.                    No                  Process with normal sequencing
  1415.                                         through selected files.
  1416.  
  1417.                     Yes                 Process as if the file at the cursor
  1418.                                         were the only selected file.  That
  1419.                                         is, perform the processing and then
  1420.                                         stop.  This is primarily used for
  1421.                                         the file selection commands
  1422.                                         themselves (e.g. <ALT space> ) where
  1423.                                         the already selected files should
  1424.                                         not be processed.
  1425.  
  1426.  
  1427.     While these settings may require several repetitions before the optimum
  1428.     states can be found, there is almost always a way to eliminate unneces-
  1429.     sary screen updates or transitions.
  1430.  
  1431. TBOXCFG User Manual                                                  Page 27
  1432. ____________________________________________________________________________
  1433.  
  1434.  
  1435.  
  1436.  
  1437. 9.3 Command Line Contents : DOS and Intrinsic Commands
  1438.  
  1439. 9.3.1 Basics
  1440.  
  1441.     This section describes the commands that can be used within the command
  1442.     line portion of a keybinding (see Section 9.2.5).
  1443.  
  1444.     The lines can be either DOS commands or ToolBOX intrinsics.  Intrinsics
  1445.     are the commands that are processed directly by ToolBOX.  DOS and
  1446.     intrinsic command lines can be combined in any order to comprise a
  1447.     command set.
  1448.  
  1449.     The same rules apply here as for entering keyboard command lines within
  1450.     ToolBOX.
  1451.  
  1452.     For DOS commands avoid using SET and its derivatives - PROMPT and PATH.
  1453.     DOS commands/functions that are specific to batch files such as GOTO and
  1454.     labels are also not available.  Avoid commands which install a resident
  1455.     TSR segment.
  1456.  
  1457.     The basic intrinsic commands (cd, dir, del, killdir, and sel) are
  1458.     described in the ToolBOX User Manual.  This manual describes two
  1459.     additional intrinsics: tbx, and t*x.  While they can be entered through
  1460.     the keyboard command line, they are intended for use within the
  1461.     keybinding command sets.  These are oriented toward system setup and
  1462.     configuration operations.
  1463.  
  1464.  
  1465.  
  1466. 9.3.2 File Variables
  1467.  
  1468.  
  1469.     Command lines, whether DOS or intrinsics, can contain variables which
  1470.     relate to files selected within the directory display.  The effective
  1471.     text is substituted for the variable when the command line is executed.
  1472.     Each variable is created by a <CTRL letter> sequence, and is displayed
  1473.     as letter.  For example <CTRL f> is shown as f.
  1474.  
  1475.     The available variables are:
  1476.  
  1477.           <CTRL d>    display drive letter.
  1478.           <CTRL p>    display path.
  1479.           <CTRL n>    1 to 8 character file name.
  1480.           <CTRL x>    0 to 3 character extension.
  1481.  
  1482.           <CTRL f>    minimized pathname, i.e. sufficient information to
  1483.                       uniquely reference the selected file from the current
  1484.                       directory.
  1485.  
  1486.           <CTRL D>    current drive letter.
  1487.           <CTRL P>    current path.
  1488.  
  1489.           <CTRL c>    last character from keyboard.
  1490. TBOXCFG User Manual                                                  Page 28
  1491. ____________________________________________________________________________
  1492.  
  1493.  
  1494.  
  1495. TBOXCFG User Manual                                                  Page 29
  1496. ____________________________________________________________________________
  1497.  
  1498.  
  1499.     The display drive letter can also be entered as a relative drive:
  1500.  
  1501.           [+-!]d     for the drive that is next, previous, or adjacent in
  1502.                       the direction of the direction flag. The resultant
  1503.                       value will always wrap around within the valid range.
  1504.                       For example, the command line:
  1505.  
  1506.                                         +d:
  1507.  
  1508.                       can be used to cycle through all the valid drives on
  1509.                       your system.
  1510.  
  1511.                       To create this sequence, enter <CTRL d>, then cursor
  1512.                       back and insert the direction character before the d.
  1513.  
  1514.  
  1515.  
  1516. 9.3.3 Edit Control Instructions
  1517.  
  1518.     Text for the keyboard command lines (see "t*x p" in Section 9.3.6) can
  1519.     contain embedded instructions which control the edit operation during
  1520.     the initial presentation of the keyboard command.  These instructions
  1521.     are coded as a single letter enclosed in angle brackets.  The four
  1522.     supported instructions, which can be inserted anywhere in the command
  1523.     text, are:
  1524.  
  1525.           <c>         set the cursor position to the current location
  1526.  
  1527.           <i>         start the edit operation in insert-mode
  1528.  
  1529.           <o>         start the edit operation in overstrike-mode
  1530.  
  1531.           <m>         mark the start (or end) of a DefaultText field.  The
  1532.                       text will be displayed in reverse video.  If the
  1533.                       initially entered character is non-printable (such as
  1534.                       <RETURN>), then the DefaultText will be converted to
  1535.                       normal text.  If, however, the initial character is
  1536.                       printable, the marked text will be deleted and
  1537.                       replaced with the newly entered character.  The cursor
  1538.                       will be positioned following this character in insert-
  1539.                       mode.  Only one such field may exist in a command
  1540.                       line.  The field continues to the end-of-line if the
  1541.                       end mark is not supplied.
  1542.  
  1543.     As an example, the following is a possible version of the rename command
  1544.     which suggests the new filename have the same name but a "NEW"
  1545.     extension.  Entering any text will overwrite this extension.
  1546.  
  1547.           t*x p rename f n.<m>new<m>
  1548.  
  1549. TBOXCFG User Manual                                                  Page 30
  1550. ____________________________________________________________________________
  1551.  
  1552.  
  1553. 9.3.4 Command Processing
  1554.  
  1555.     Section 9.3.6 describes the "t*x p command-line" command which preloads
  1556.     the command-line text into the keyboard command line.  The parameters/-
  1557.     variables for this command are evaluated twice.  Once when the command
  1558.     is initially processed and brought into the keyboard command line, and a
  1559.     second time when <RETURN> is ultimately entered.
  1560.  
  1561.     When the variables are processed by ToolBOX, the sequence  is
  1562.     translated to a single .  This facility can be used to ensure that the
  1563.     variables are expanded at the proper time.
  1564.  
  1565.     If the variable is to be replaced with the selected file name at the
  1566.     time the command line is brought into the keyboard buffer, then use one
  1567.     .  If multiple files are selected, only the first will be processed.
  1568.     It is the keyboard command line that would be reprocessed for each
  1569.     selected file, but since this command line is now static and unchanging,
  1570.     there is no need to repeat after the first pass.
  1571.  
  1572.     If the variable is to be replaced at the time the <RETURN> is entered
  1573.     (and repeated for each additional selected file), then use two  prefix
  1574.     characters when placing the variable in the command set for the key
  1575.     binding.  This displays as one  in the keyboard command line.
  1576.  
  1577.     To produce consecutive diamonds (  ), either enter two consecutive
  1578.     valid CTRL characters such as <CTRL f> and then manually delete the
  1579.     first letter, or enter <ALT 0><ALT 0><ALT 4> twice using the numeric
  1580.     keypad.  When using the keypad technique, ensure that NUMLOCK is off and
  1581.     that you release the ALT key after <ALT 4>.
  1582.  
  1583.  
  1584.  
  1585. 9.3.5 Intrinsic tbx Command
  1586.  
  1587.     The intrinsic command tbx is used to implement a number of housekeeping
  1588.     operations.  While intended to be executed transparently through
  1589.     bindings to specific keys, they may be entered manually through the
  1590.     keyboard command line.
  1591.  
  1592.     All commands contain a single letter descriptor followed by additional
  1593.     parameters as required.  These commands are:
  1594.  
  1595.           tbx d          o switch the screen to the DOS window.
  1596.  
  1597.           tbx h #        o initiate ToolBOX help, where # is 1 or 2. 1
  1598.                            selects basic command descriptions, 2 adds the
  1599.                            actual command set text for each key binding.
  1600.                            The key binding  can be used to change the help
  1601.                            descriptions for the configurable commands
  1602.                            contained in the middle section of the help text.
  1603.                            The factory default configuration uses single
  1604.                            line descriptions for each keybinding, but this
  1605.                            need not be the case.
  1606.  
  1607.           tbx p          o toggle the current PAUSE status.  When ON,
  1608. TBOXCFG User Manual                                                  Page 31
  1609. ____________________________________________________________________________
  1610.  
  1611.  
  1612.                            ToolBOX will pause at the DOS screen just before
  1613.                            returning to the ToolBOX directory display.  The
  1614.                            default is OFF, although this can be changed
  1615.                            through the TBOX -xP command line argument.  The
  1616.                            setting can also be examined and changed through
  1617.                            the ToolBOX popup menu.  This setting has no
  1618.                            effect in split screen mode.
  1619.  
  1620.           tbx r ##       o change screen rows to ##, where ## must be one of
  1621.                            25, 43, or 50.  The original DOS setting will be
  1622.                            used for any other values.  No check is made for
  1623.                            consistency with the current video card.
  1624.  
  1625.           tbx t          o toggle the current DIRECTION status.  The
  1626.                            direction state is used by <TAB>, and <SHIFT
  1627.                            SPACE>.  This state can be examined and changed
  1628.                            through the ToolBOX popup menu.
  1629.  
  1630.           tbx w          o toggle between ToolBOX SELECT and DIRECTORY
  1631.                            state.
  1632.  
  1633.           tbx N          o change directories to the next entry in the
  1634.                            directory stack; i.e. move to the next oldest.
  1635.                            The directory stack is a list (to a 500 character
  1636.                            limit) of the previous directories entered and
  1637.                            the file at the cursor on exit from each.
  1638.  
  1639.           tbx P          o change directories to the previous entry in the
  1640.                            directory stack; i.e. move to the next newest.
  1641.  
  1642.           tbx x          o conditional exit, prompt first to ensure user
  1643.                            wants to exit.
  1644.  
  1645.           tbx X          o unconditional exit.  Exit immediately.
  1646.  
  1647.  
  1648.  
  1649. 9.3.6 Intrinsic t*x Command
  1650.  
  1651.     The t*x command is similar to the tbx intrinsic command described in the
  1652.     previous section.  The notable difference being these are only to be
  1653.     initiated from command sets bound to specific keys.  Manually entering
  1654.     these commands through the keyboard command line could cause unpredict-
  1655.     able results.  Refer to the default command configurations for practical
  1656.     examples of how these commands are employed.
  1657.  
  1658.           t*x p [command-line-text]
  1659.                          o start the keyboard command, initializing with all
  1660.                            trailing text on the t*x p command line.
  1661.  
  1662.           t*x l          o start the keyboard command, initializing with
  1663.                            text from the most recent command stack entry.
  1664.                            The command stack is used to retain the latest
  1665.                            keyboard command lines, up to a 500 character
  1666.                            limit.
  1667. TBOXCFG User Manual                                                  Page 32
  1668. ____________________________________________________________________________
  1669.  
  1670.  
  1671.  
  1672.           t*x C          o assign current directory to quick-command x (x is
  1673.                            assumed to be the next character received through
  1674.                            the keyboard).  Quick-commands are limited to a
  1675.                            total of 500 characters.  They can be viewed and
  1676.                            invoked through the popup menu.
  1677.  
  1678.           t*x D          o delete quick-command x (again x is assumed to be
  1679.                            the next character received through the
  1680.                            keyboard).
  1681.  
  1682.           t*x K          o add the current keyboard command line as quick-
  1683.                            command x (x is assumed to be the next character
  1684.                            received through the keyboard).  The keyboard
  1685.                            command line is cleared on receipt of the x
  1686.                            label.
  1687.  
  1688.           t*x X          o execute quick-command x (x is assumed to be the
  1689.                            next character received through the keyboard).
  1690.                            The quick-command text is treated in the same
  1691.                            manner as if it were entered through the keyboard
  1692.                            command line.
  1693.  
  1694.           t*x f progname.ext [param1] [param2] . . .
  1695.                          o if it can be found in the current directory or on
  1696.                            the PATH, then invoke the progname.ext program
  1697.                            and pass it the parameters param1, param2, etc.
  1698.                            If the progname.ext file cannot be located, a
  1699.                            default command line is performed, see Section
  1700.                            12.  The extension must be explicitly stated.
  1701.  
  1702.           t*x x progname.ext [param2] [param3] . . .
  1703.                          o equivalent to the above t*x f command, except
  1704.                            that if progname.ext is not found, ToolBOX simply
  1705.                            beeps.
  1706.  
  1707.           t*x s          o toggle DOS split screen.  Beeps if EGA or VGA
  1708.                            video card not available.  If in 25 line mode,
  1709.                            also automatically shifts to 43 (EGA) or 50 (VGA)
  1710.                            line mode.
  1711.  
  1712.           t*x w          o initiate the popup menu window.  This permits
  1713.                            viewing or changes for quick commands, sort
  1714.                            procedures, display formats, and pause and target
  1715.                            direction states.
  1716.  
  1717.  
  1718. TBOXCFG User Manual                                                  Page 33
  1719. ____________________________________________________________________________
  1720.  
  1721.  
  1722. 10.0 Configure Option : Command Overrides
  1723.  
  1724. 10.1 Basics
  1725.  
  1726.     The command override facility makes it possible to identify and then
  1727.     make appropriate adjustments for specific commands entered on the
  1728.     ToolBOX keyboard command line.  These adjustments are essentially
  1729.     equivalent to the flag settings available for the keybindings - for
  1730.     switching to the DOS screen, pausing, refreshing the directory display,
  1731.     and so on.
  1732.  
  1733.     Configuration for the command is similar to the keybinding facility.
  1734.     When selected from the Configure Menu, a list of the existing command
  1735.     override names is presented.  Cursor to the desired entry and enter
  1736.     <RETURN>.
  1737.  
  1738.     This brings up a menu to select an update option:
  1739.  
  1740.           Edit
  1741.  
  1742.                Initiate changes to the existing settings for the command
  1743.                override.
  1744.  
  1745.  
  1746.           Insert
  1747.  
  1748.                Add a new entry before the current override command.  Flags
  1749.                are initialized to the default settings.  There is no
  1750.                significance to the order of the entries.
  1751.  
  1752.  
  1753.           Paste before
  1754.  
  1755.                Insert a copy of the most recent Cut operation before the
  1756.                current command override.
  1757.  
  1758.  
  1759.           Cut
  1760.  
  1761.                Delete the current override command.  The deleted entry is
  1762.                temporarily retained and can be used in subsequent paste
  1763.                operations.  These Cut and Paste combinations can be used to
  1764.                duplicate or move entries.
  1765.  
  1766.  
  1767.     The order of the override entries is not significant.  With the Edit and
  1768.     Insert options, a secondary menu is generated for the update itself.
  1769.     Its options are:
  1770.  
  1771. TBOXCFG User Manual                                                  Page 34
  1772. ____________________________________________________________________________
  1773.  
  1774.  
  1775.           Program Name
  1776.  
  1777.                Enter the filename for which the override is to apply.  Case
  1778.                is significant, path is not allowed, and the extension is
  1779.                optional.  As for intrinsic commands, the match will only
  1780.                occur if the name is entered in the ToolBOX in all upper or
  1781.                all lower case.  The match is performed with the name portion
  1782.                only.  The extension is provided to optimize the execution
  1783.                phase, such that if it didn't exist already, it is appended
  1784.                when a match occurs.  As for any program invocation, if the
  1785.                .exe or .com extension is known, then ToolBOX is capable of
  1786.                executing it directly without the inefficiency of using the
  1787.                intermediate COMMAND.COM.  The filename entered is also used
  1788.                for display purposes in the original selection list.
  1789.  
  1790.           Flags
  1791.  
  1792.                There are 6 separate flag settings.  Five are similar to
  1793.                those for the keybinding flags and one is unique.  These are
  1794.                described in Section 10.2.
  1795.  
  1796.           Cancel Changes
  1797.  
  1798.                All changes are made to a copy of the data which is not
  1799.                incorporated until <ESC> is entered to exit from this menu.
  1800.                If the Cancel Changes option is used, any changes made to the
  1801.                override command are ignored.
  1802.  
  1803.     If you wish to bypass the override function within ToolBOX when entering
  1804.     keyboard commands, then enter the name in mixed case.
  1805.  
  1806.  
  1807.  
  1808. 10.2 Override Flags
  1809.  
  1810.     The flags are similar to those used for the keybindings.  In fact five
  1811.     settings are identical.  Refer to Section 9.2 for a detailed description
  1812.     of the settings for:
  1813.  
  1814.  
  1815.           Switch to DOS window
  1816.  
  1817.                Controls transitions between DOS and ToolBOX screens; both
  1818.                before and after executing the overridden command.
  1819.  
  1820.           Tell DOS of lines
  1821.  
  1822.                Inform DOS of whether it must restrict itself to 25 lines for
  1823.                split screen usage.
  1824.  
  1825.           Display data
  1826.  
  1827.                Optimizes data updates for ToolBOX directory display follow-
  1828.                ing the over-ridden command.
  1829.  
  1830. TBOXCFG User Manual                                                  Page 35
  1831. ____________________________________________________________________________
  1832.  
  1833.  
  1834.  
  1835.           Pause on completion
  1836.  
  1837.                Indicates whether a pause should occur following the command
  1838.                before reverting to the ToolBOX directory display.
  1839.  
  1840.           On-error
  1841.  
  1842.                Specifies what should be done when the override command
  1843.                returns a non-zero errorlevel value.
  1844.  
  1845.  
  1846.     The keybinding flags for Subdirectory, Embeddable, and Skip-to-cursor
  1847.     are not applicable for command overrides.
  1848.  
  1849.     The one new flag setting for command overrides relates to the handling
  1850.     of memory for the over-ridden program.  This is not necessary for the
  1851.     keybindings as the "@" prefix to request the swap can be placed on the
  1852.     individual command lines in the command set.  The swap setting controls
  1853.     whether or not the swap is made, but not where.  The TBOX -M command
  1854.     line argument determines if swap operations use disk or EMS for storage,
  1855.     and the default setting that determines if all external programs are
  1856.     swapped or not.
  1857.  
  1858.           sWap out ToolBOX
  1859.  
  1860.               Use swap default
  1861.  
  1862.                     Essentially indicates that no action be taken.  The
  1863.                     default established by the -M command line argument
  1864.                     should apply for this command as for any command,
  1865.                     whether from a keyboard command or a keybinding command
  1866.                     set.
  1867.  
  1868.                Never swap
  1869.  
  1870.                     Overrides the -M command line argument to inhibit the
  1871.                     swap operation when the override command is executed.
  1872.  
  1873.                Always swap
  1874.  
  1875.                     Essentially inserts the "@" prefix in front of the
  1876.                     over-ridden command to ensure that it is swapped.
  1877.  
  1878.  
  1879.  
  1880. 10.3 Factory Default Command Overrides
  1881.  
  1882.     The default configuration contains command overrides for two types of
  1883.     common commands, for DOS and for Binary Toolshed Utilities.
  1884.  
  1885.     The overrides for the DOS commands serve two functions.  For commands
  1886.     such as type, or chkdsk which generate output for the screen, the over-
  1887.     ride is used to ensure a pause occurs after the command is executed and
  1888.     before reverting to the directory display.  For other commands such as
  1889. TBOXCFG User Manual                                                  Page 36
  1890. ____________________________________________________________________________
  1891.  
  1892.  
  1893.     cls, the override tells DOS to not bother re-reading the directory.  DOS
  1894.     commands such as copy and diskcopy command are not included in the
  1895.     default override settings, although these can easily be added to ensure
  1896.     ToolBOX pauses after the commands issue their results.
  1897.  
  1898.     The overrides for the Binary Toolshed Utilities take advantage of the
  1899.     known characteristics of these programs.  For the utilities that
  1900.     generate output (dirs, drives, onpath, and wi), the flags are set to
  1901.     ensure a pause occurs.  The full screen utilities (TREE, and VIEW) are
  1902.     configured to take advantage of the ToolBOX screen settings.  All
  1903.     utilities are configured to use the BTS errorlevel value.
  1904.  
  1905.     The override list can easily be extended to incorporate all of the
  1906.     programs used within your environment.  Pause settings, screen transit-
  1907.     ions, directory updates, memory utilization, and so on can all be
  1908.     optimized for your most commonly used programs.
  1909.  
  1910.  
  1911. TBOXCFG User Manual                                                  Page 37
  1912. ____________________________________________________________________________
  1913.  
  1914.  
  1915. 11.0 Configure Option : Quick Lines
  1916.  
  1917.     Quicklines are an alternative method for executing command lines,
  1918.     whether DOS or intrinsics.  Unlike keybindings, quicklines:
  1919.  
  1920.           o contain one and only one command line.
  1921.  
  1922.           o have no associated flag settings or match strings.
  1923.  
  1924.           o are executed once only and are independent of any selected
  1925.             files.
  1926.  
  1927.           o can be configured from the ToolBOX program as well as through
  1928.             the TBOXCFG program.
  1929.  
  1930.           o are executed within the ToolBOX program from the popup menu or
  1931.             through a two character sequence consisting of the quick command
  1932.             introducer character (nominally ') and a unique single character
  1933.             label.
  1934.  
  1935.  
  1936.     The configuration for quick commands is similar to the override command.
  1937.     When selected from the Configure Menu, a list of the existing quick
  1938.     commands is presented.  Each entry consists of the alphabetic label and
  1939.     the quickline itself.  Cursor to the desired entry and enter <RETURN>.
  1940.  
  1941.     This brings up a menu to select an update option:
  1942.  
  1943.           Edit
  1944.  
  1945.                Initiate changes to the existing settings for the quick
  1946.                command.
  1947.  
  1948.  
  1949.           Insert
  1950.  
  1951.                Add a new entry before the current quickline.  There is no
  1952.                significance to the order of the entries.  If two accident-
  1953.                ally have the same label, only the first has any effect.
  1954.  
  1955.  
  1956.           Delete
  1957.  
  1958.                Deletes the current quickline command.  There is no paste
  1959.                option provided for quicklines.
  1960.  
  1961.  
  1962.     With the Edit and Insert options, an additional two line text entry
  1963.     window is generated for the update itself.  The two lines are for the
  1964.     quicklabel and the quickline respectively.
  1965.  
  1966.     Anything after the first character of the label line is ignored.  The
  1967.     label can be any alphanumeric character.  Case is significant.
  1968.  
  1969.     The quickline can contain any DOS or intrinsic command that is valid for
  1970. TBOXCFG User Manual                                                  Page 38
  1971. ____________________________________________________________________________
  1972.  
  1973.  
  1974.     the keyboard command line or a key binding.  The same rules apply for
  1975.     command line variables except that the variables reference the file at
  1976.     the cursor position rather than selected files.  Quicklines will be
  1977.     processed once and once only - not once for for each selected file as
  1978.     would occur for keybindings.  Quick commands defined through the TBOXCFG
  1979.     program are identical and indistinguishable from those added dynamically
  1980.     with the ToolBOX program.
  1981.  
  1982.     There is a 500 character limit for all quick lines.
  1983.  
  1984.     There are no factory default quick commands defined.
  1985.  
  1986.  
  1987.  
  1988. TBOXCFG User Manual                                                  Page 39
  1989. ____________________________________________________________________________
  1990.  
  1991.  
  1992. 12.0 Configure Option : Default-DOS-Command
  1993.  
  1994.     The default-DOS-command is the command line invoked when the "t*x f"
  1995.     (see Section 9.3.6) command is unable to locate an applicable file to
  1996.     execute.
  1997.  
  1998.     Within ToolBOX, "t*x f" is used for the deferred batch file facility.
  1999.     The command line is used when the batch filename composed from the
  2000.     extension of the selected file cannot be found.  The factory default
  2001.     default-DOS-command is to use view to display the selected file, that is
  2002.  
  2003.                     view f
  2004.  
  2005.     This can be altered to use any other display program or viewer.
  2006.  
  2007.  
  2008.     Selecting this option from the Configure menu produces a sub-menu with
  2009.     choices for either the command line or flag settings.
  2010.  
  2011.     Selecting the Command option produces a text entry window.  Enter the
  2012.     single line default command containing up to 68 characters.
  2013.  
  2014.     The Flags option introduces the same five settings that are used for the
  2015.     key bindings.  Refer to Section 9.2 for a detailed description of the
  2016.     flag setting options for:
  2017.  
  2018.           Switch to DOS window
  2019.  
  2020.           Tell DOS of video lines
  2021.  
  2022.           Display data
  2023.  
  2024.           Pause on completion
  2025.  
  2026.           On-error
  2027.  
  2028.  
  2029.  
  2030. TBOXCFG User Manual                                                  Page 40
  2031. ____________________________________________________________________________
  2032.  
  2033.  
  2034. 13.0 Configure Option : ToolBOX Banner
  2035.  
  2036.     Normally the text in the upper left corner of the ToolBOX display shows
  2037.     the "The Binary Toolshed".  This is the ToolBOX banner that can be
  2038.     changed to any desired string.
  2039.  
  2040.     Selecting this option from the Configure menu produces a text entry
  2041.     window.  Enter any string of up to 32 characters.
  2042.  
  2043.  
  2044.  
  2045. TBOXCFG User Manual                                                  Page 41
  2046. ____________________________________________________________________________
  2047.  
  2048.  
  2049. APPENDIX A : TBOXCFG COMMAND LINE ARGUMENTS
  2050.  
  2051.  
  2052.  
  2053.  
  2054.      TBOXCFG  [d:][path]cfgname[.cfg]
  2055.              -V [b m s c e v] [25 43 50] -C[m c g]
  2056.              -X [a#] [fF]
  2057.  
  2058.  
  2059.       where :
  2060.  
  2061.  
  2062.            [d:][path]cfgname[.cfg]
  2063.                               configuration file to be edited
  2064.  
  2065.  
  2066.           -Video[bIOS|mONOCHROME|sNOW|cGA|eGA|vGA] [25LINES|43LINES|50LINES]
  2067.  
  2068.           -Color[mONOCHROME|cOLOR|gRAYSCALE]
  2069.  
  2070.           -eXecute
  2071.                a#      permitted audio tones for different errors:
  2072.                        1 (border) + 2 (syntax) + 4 (execution)
  2073.                f / F   enable Flashing color
  2074.  
  2075.  
  2076.                NOTE :
  2077.  
  2078.                     o all fields are optional
  2079.  
  2080.                     o default is
  2081.  
  2082.                          -v25 -Xa7f
  2083.  
  2084.  
  2085. TBOXCFG User Manual                                                  Page 42
  2086. ____________________________________________________________________________
  2087.  
  2088.  
  2089. APPENDIX B : INTRINSIC COMMAND SUMMARY
  2090.  
  2091.  
  2092. INTRINSIC COMMANDS
  2093. ──────────────────
  2094.  
  2095.  
  2096.  
  2097.           Update directory display.
  2098.  
  2099.                dir [d:][path][matchlist] [/s[ + - ! ]#] [/f[ + - ! ]#]
  2100.  
  2101.           Change directory.
  2102.  
  2103.                [cd] [d:][path]
  2104.  
  2105.           Delete selected files.
  2106.  
  2107.                del [d:][path]matchlist
  2108.  
  2109.           Delete selected directories and contents.
  2110.  
  2111.                killdir [d:]path
  2112.  
  2113.           Select files.
  2114.  
  2115.                sel [ @ + - ] matchlist
  2116.  
  2117.           Switch to the DOS window.
  2118.  
  2119.                tbx d
  2120.  
  2121.           Initiate Help  (1=basic help, 2=extended command set).
  2122.  
  2123.                tbx h #
  2124.  
  2125.           Toggle current PAUSE status.
  2126.  
  2127.                tbx p
  2128.  
  2129.           Set number of screen lines (25, 43, or 50 - otherwise the
  2130.           DOS setting).
  2131.  
  2132.                tbx r ##
  2133.  
  2134.           Toggle current DIRECTION status.
  2135.  
  2136.                tbx t
  2137.  
  2138.           Toggle between ToolBOX SELECT and DIRECTORY state.
  2139.  
  2140.                tbx w
  2141.  
  2142. TBOXCFG User Manual                                                  Page 43
  2143. ____________________________________________________________________________
  2144.  
  2145.  
  2146.           Change directories to the next entry in the directory
  2147.           stack.
  2148.  
  2149.                tbx N
  2150.  
  2151.           Change directories to the previous entry in the
  2152.           directory stack.
  2153.  
  2154.                tbx P
  2155.  
  2156.           Conditional exit (Use verification window).
  2157.  
  2158.                tbx x
  2159.  
  2160.           Unconditional exit.
  2161.  
  2162.                tbx X
  2163.  
  2164.           Invoke program if locatable, else use default command
  2165.           line.
  2166.  
  2167.                t*x f progname.ext [param1] [param2] . . .
  2168.  
  2169.           Start the keyboard command with newest command stack
  2170.           entry.
  2171.  
  2172.                t*x l
  2173.  
  2174.           Start keyboard command with text provided.
  2175.  
  2176.                t*x p [command-line-text]
  2177.  
  2178.           Toggle DOS split screen.
  2179.  
  2180.                t*x s
  2181.  
  2182.           Initiate the popup menu window.
  2183.  
  2184.                t*x w
  2185.  
  2186.           Invoke program if locatable, else sound(error).
  2187.  
  2188.                t*x x progname.ext [param1] [param2] . . .
  2189.  
  2190.           Assign current directory to quick command, get label x from
  2191.           keyboard.
  2192.  
  2193.                t*x C
  2194.  
  2195.           Delete quick command, get x from keyboard.
  2196.  
  2197.                t*x D
  2198.  
  2199. TBOXCFG User Manual                                                  Page 44
  2200. ____________________________________________________________________________
  2201.  
  2202.  
  2203.           Add the current keyboard command line as quick command,
  2204.           get x from the keyboard.
  2205.  
  2206.                t*x K
  2207.  
  2208.           Execute quick command, get x from keyboard.
  2209.  
  2210.                t*x X
  2211.  
  2212. TBOXCFG User Manual                                                  Page 45
  2213. ____________________________________________________________________________
  2214.  
  2215.  
  2216. APPENDIX C : SORT FORMAT SPECIFICATION
  2217.  
  2218.  
  2219.                d  date
  2220.                n  name
  2221.                x  extension
  2222.                s  size
  2223.  
  2224. TBOXCFG User Manual                                                  Page 46
  2225. ____________________________________________________________________________
  2226.  
  2227.  
  2228. APPENDIX D : DISPLAY FORMAT SPECIFICATION
  2229.  
  2230.  
  2231.                D  ddMmmyy date string
  2232.                t  hh:mm time string
  2233.                d  2 char day xx
  2234.                m  2 char month
  2235.                y  2 char year
  2236.                M  3 char Month
  2237.  
  2238.                n  8 character name
  2239.                C  8 character byte count "  <DIR> " if a directory
  2240.                c  8 character byte count "        " if a directory
  2241.                x  3 character extension
  2242.  
  2243.                \\ status " " or "\" if a directory
  2244.                /  status in decreasing priority "s", "h", "r", "\"
  2245.  
  2246.                S  "" if file selected, else " "
  2247.  
  2248.                "literal strings"   preserved as given
  2249.  
  2250.  
  2251.  
  2252. TBOXCFG User Manual                                                  Page 47
  2253. ____________________________________________________________________________
  2254.  
  2255.  
  2256. APPENDIX E : COMMAND LINE VARIABLES
  2257.  
  2258.  
  2259.     Basic file oriented variables:
  2260.  
  2261.           <CTRL d>       display drive
  2262.  
  2263.           <CTRL p>       display path
  2264.  
  2265.           <CTRL n>       8 character file name
  2266.  
  2267.           <CTRL x>       3 character extension
  2268.  
  2269.           <CTRL D>       current drive letter
  2270.  
  2271.           <CTRL P>       current path
  2272.  
  2273.           <CTRL f>       minimized filename
  2274.  
  2275.  
  2276.     Additional variables (as displayed):
  2277.  
  2278.           [ + - ! ]d    biased display drive
  2279.  
  2280.           c             last character from keyboard
  2281.  
  2282.                        single literal  character
  2283.  
  2284.  
  2285.     Edit Control Instructions
  2286.  
  2287.  
  2288.           <c>            set cursor position
  2289.  
  2290.           <i>            set insert mode
  2291.  
  2292.           <o>            set overstrike mode
  2293.  
  2294.           <m>            mark start (or end) of default-text region
  2295.  
  2296.  
  2297.